<?php /* Smarty version 2.6.13, created on 2011-08-03 02:38:38
         compiled from partner_edit.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 't', 'partner_edit.tpl', 16, false),)), $this); ?>
<div class="wrap">
<table width="100%" height="100%" cellpadding="0" cellspacing="0">
	<tr>
	<td width="54px" height="43px" class="fr_lefttop"></td>
	<td height="43px" class="fr_centertop" ></td>
	<td width="48px" height="43px" class="fr_righttop"></td>
	</tr>
	<tr>
	<td width="54px" class="fr_leftmiddle" >&nbsp;</td>
	<td class="fr_centermiddle">
<?php if ($_COOKIE['message'] == null): ?>
	<div id="ajaxResponse1" class="ajaxResponse"></div>
<?php else: ?>
	<div id="ajaxResponse1" class="ajaxResponse fade" style="display:block"><?php if ($_COOKIE['message'] != NULL):  echo $_COOKIE['message'];  endif; ?></div>
<?php endif; ?> 
<h2><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Edit Partner<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></h2>
<form name="editpartner" id="editpartner" enctype="multipart/form-data" method="post" >
	<input type="hidden" name="act" value="editpartner"/>
	<input type="hidden" name="partner_id" value="<?php echo $this->_tpl_vars['PARTNER']->partner_id; ?>
">
	<table class="editform" width="100%" cellspacing="2" cellpadding="5">
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="partner_name"><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Name:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></label></th>
			<td width="67%">
			<input name="partner_name" id="partner_name" type="text" value="<?php echo $this->_tpl_vars['PARTNER']->partner_name; ?>
" size="50" maxlength="100" /></td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="partner_status"><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Status:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></label></th>
			<td width="67%">
			<?php if ($this->_tpl_vars['PARTNER']->partner_status == 'active'): ?>
				<?php $this->assign('activesel', 'selected'); ?>
			<?php else: ?>
				<?php $this->assign('inactivesel', 'selected'); ?>
			<?php endif; ?>
			<select name="partner_status">
				<option <?php echo $this->_tpl_vars['activesel']; ?>
 value='active'>Active</option>
				<option <?php echo $this->_tpl_vars['inactivesel']; ?>
 value='inactive'>Inactive</option>
			</select>
		</tr>
		<tr>
			<th width="33%" valign="middle">
			<?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Image:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?> :</th>
			<td width="67%">
			<input type="file" name="partner_image" />
            </td>
		</tr>
        <tr>
			<th width="33%" scope="row" valign="middle">
			</th>
			<td width="67%">
            <img src="<?php echo $this->_tpl_vars['PATH'];  echo $this->_tpl_vars['PARTNER']->partner_image; ?>
" />
            </td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="partner_url"><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>URL:<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></label></th>
			<td width="67%">
			<input name="partner_url" id="partner_url" type="text" value="<?php echo $this->_tpl_vars['PARTNER']->partner_url; ?>
" size="50" maxlength="100" /></td>
		</tr>
	</table>
	<p class="submit" align = "right">
		<input type="submit" name="submit" value="<?php $this->_tag_stack[] = array('t', array('escape' => false)); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Edit Partner &raquo;<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>" />
	</p>
</form>
</td>
	<td width="48px" class="fr_rightmiddle"></td>
	</tr>
	<tr>
	<td width="54px" height="60px" class="fr_leftbot" ></td>
	<td height="60px" class="fr_centerbot"></td>
	<td width="48px" height="60px" class="fr_rightbot" ></td>
	</tr>
</table>
</div>